package com.demo.pattern.decorate.homework;

/**
 * @author sourire
 * @version 1.0
 * @date 2020/8/27 14:47
 */
public class TXT extends Encode {

    TXT(){
        this.str = "字符串";
    }

    @Override
    public String encode() {
        return this.str;
    }
}
